Integrand size = 25, antiderivative size = 61 \[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )} \, dx=\frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right )}{d}+\frac {b \operatorname {PolyLog}\left (2,-e^{2 \text {arccosh}(c x)}\right )}{2 d}-\frac {b \operatorname {PolyLog}\left (2,e^{2 \text {arccosh}(c x)}\right )}{2 d} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {5916, 5569, 4267, 2317, 2438} \[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )} \, dx=\frac {2 \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right ) (a+b \text {arccosh}(c x))}{d}+\frac {b \operatorname {PolyLog}\left (2,-e^{2 \text {arccosh}(c x)}\right )}{2 d}-\frac {b \operatorname {PolyLog}\left (2,e^{2 \text {arccosh}(c x)}\right )}{2 d} \]
[In]
[Out]
Rule 2317
Rule 2438
Rule 4267
Rule 5569
Rule 5916
Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}(\int (a+b x) \text {csch}(x) \text {sech}(x) \, dx,x,\text {arccosh}(c x))}{d} \\ & = -\frac {2 \text {Subst}(\int (a+b x) \text {csch}(2 x) \, dx,x,\text {arccosh}(c x))}{d} \\ & = \frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right )}{d}+\frac {b \text {Subst}\left (\int \log \left (1-e^{2 x}\right ) \, dx,x,\text {arccosh}(c x)\right )}{d}-\frac {b \text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\text {arccosh}(c x)\right )}{d} \\ & = \frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right )}{d}+\frac {b \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 \text {arccosh}(c x)}\right )}{2 d}-\frac {b \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \text {arccosh}(c x)}\right )}{2 d} \\ & = \frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right )}{d}+\frac {b \operatorname {PolyLog}\left (2,-e^{2 \text {arccosh}(c x)}\right )}{2 d}-\frac {b \operatorname {PolyLog}\left (2,e^{2 \text {arccosh}(c x)}\right )}{2 d} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(129\) vs. \(2(61)=122\).
Time = 0.27 (sec) , antiderivative size = 129, normalized size of antiderivative = 2.11 \[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )} \, dx=-\frac {-b \text {arccosh}(c x)^2-2 b \text {arccosh}(c x) \log \left (1+e^{-2 \text {arccosh}(c x)}\right )+2 b \text {arccosh}(c x) \log \left (1+e^{-\text {arccosh}(c x)}\right )+2 b \text {arccosh}(c x) \log \left (1-e^{\text {arccosh}(c x)}\right )-2 a \log (x)+a \log \left (1-c^2 x^2\right )+b \operatorname {PolyLog}\left (2,-e^{-2 \text {arccosh}(c x)}\right )-2 b \operatorname {PolyLog}\left (2,-e^{-\text {arccosh}(c x)}\right )+2 b \operatorname {PolyLog}\left (2,e^{\text {arccosh}(c x)}\right )}{2 d} \]
[In]
[Out]
Time = 0.86 (sec) , antiderivative size = 191, normalized size of antiderivative = 3.13
method | result | size |
parts | \(-\frac {a \left (\frac {\ln \left (c x +1\right )}{2}-\ln \left (x \right )+\frac {\ln \left (c x -1\right )}{2}\right )}{d}-\frac {b \left (-\operatorname {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )-\frac {\operatorname {polylog}\left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2}+\operatorname {arccosh}\left (c x \right ) \ln \left (1-c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )+\operatorname {polylog}\left (2, c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )+\operatorname {arccosh}\left (c x \right ) \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )+\operatorname {polylog}\left (2, -c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )\right )}{d}\) | \(191\) |
derivativedivides | \(-\frac {a \left (-\ln \left (c x \right )+\frac {\ln \left (c x +1\right )}{2}+\frac {\ln \left (c x -1\right )}{2}\right )}{d}-\frac {b \left (-\operatorname {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )-\frac {\operatorname {polylog}\left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2}+\operatorname {arccosh}\left (c x \right ) \ln \left (1-c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )+\operatorname {polylog}\left (2, c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )+\operatorname {arccosh}\left (c x \right ) \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )+\operatorname {polylog}\left (2, -c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )\right )}{d}\) | \(193\) |
default | \(-\frac {a \left (-\ln \left (c x \right )+\frac {\ln \left (c x +1\right )}{2}+\frac {\ln \left (c x -1\right )}{2}\right )}{d}-\frac {b \left (-\operatorname {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )-\frac {\operatorname {polylog}\left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2}+\operatorname {arccosh}\left (c x \right ) \ln \left (1-c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )+\operatorname {polylog}\left (2, c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )+\operatorname {arccosh}\left (c x \right ) \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )+\operatorname {polylog}\left (2, -c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )\right )}{d}\) | \(193\) |
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )} \, dx=\int { -\frac {b \operatorname {arcosh}\left (c x\right ) + a}{{\left (c^{2} d x^{2} - d\right )} x} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )} \, dx=- \frac {\int \frac {a}{c^{2} x^{3} - x}\, dx + \int \frac {b \operatorname {acosh}{\left (c x \right )}}{c^{2} x^{3} - x}\, dx}{d} \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )} \, dx=\int { -\frac {b \operatorname {arcosh}\left (c x\right ) + a}{{\left (c^{2} d x^{2} - d\right )} x} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )} \, dx=\int { -\frac {b \operatorname {arcosh}\left (c x\right ) + a}{{\left (c^{2} d x^{2} - d\right )} x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )} \, dx=\int \frac {a+b\,\mathrm {acosh}\left (c\,x\right )}{x\,\left (d-c^2\,d\,x^2\right )} \,d x \]
[In]
[Out]